home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
301-325
/
disk_319
/
cnewssrc
/
cnews.orig.lzh
/
conf
/
queuelen.hdb
< prev
next >
Wrap
Text File
|
1989-06-27
|
362b
|
20 lines
#! /bin/sh
# Find size of current queue of news outbound to $1. HDB/BNU version.
# =()<. ${NEWSCONFIG-@<NEWSCONFIG>@}>()=
. ${NEWSCONFIG-/usr/lib/news/bin/config}
PATH=$NEWSCTL/bin:$NEWSBIN:$NEWSPATH ; export PATH
umask $NEWSUMASK
cd /usr/spool/uucp
grade=d
if test -d $1
then
cd $1
ls | egrep "^C\..*$grade....\$" | wc | awk '{print $1}'
else
echo 0
fi